package com.bdqn.zhang.service.impl;

import com.bdqn.zhang.dao.UserDao;
import com.bdqn.zhang.pojo.Sysuser;
import com.bdqn.zhang.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service("userService")
public class UserServiceImpl implements UserService {

    @Resource
    private UserDao userDao;

    @Override
    public Sysuser findUser(String username, String password) {
        return userDao.findUser(username,password);
    }
}
